package com.yan.demo;

import com.yan.domain.Book;


public class Demo1 {
    public static void main(String[] args) {
        Book book = new Book("QWE" , 123 , "123");
        Book book1 = new Book("ASD" , 222 , "456");
        Book book2 = new Book("ZXC" , 333 , "789");

        book.show();
        book1.show();
        book2.show();

        Book.setId("666");
        System.out.println("--------------");
        book.show();
        book1.show();
        book2.show();
        System.out.println();
    }
}

